<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>

    <style>
        .box{
            width: 300px;
            height: 300px;
            margin: 10px auto;
            border: 1px solid rebeccapurple;
            display: flex;
            flex-direction: row-reverse;
        }
        .box div{
            height: 60px;
            width: 60px;
            border: 1px dotted red;
        }

        .box div:nth-child(1){
            order: 0;
        }
        .box div:nth-child(2){
            order: 0;
        }
        .box div:nth-child(3){
            order: 0;
        }
        .box div:nth-child(4){
            order: 0;
        }
        .box div:nth-child(5){
            order: -1;
        }

    </style>

</head>
<body>
    <div class="box">

            <div>1111</div>
            <div>222</div>
            <div>333</div>
            <div>444</div>
            <div>555</div>

    </div>
    
</body>
</html>